<!DOCTYPE html>
<html lang="en" xmlns:th="https://www.thymeleaf.org" >
<head>
    <meta charset="UTF-8">
    <title>test</title>
    <script th:href="@{/1.js}"></script>
</head>
<body>
    <h1>test123</h1>
    <!--变量的用法-->
    <p th:text="${msg}"></p>

    <!--each的用法-->
    <h3 th:each="user:${users}" th:text="${user}"></h3>
    <hr>
    <h3 th:each="user:${users}">[[${user}]]</h3>

</body>
</html>
